home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / hgdemo.arc / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-11-14  |  3.3 KB  |  123 lines

  1. echo off
  2. if "%1" == "" goto nodrive
  3. free %1: 1300000
  4. if errorlevel 1 goto nofree
  5. cls
  6. echo  
  7. echo               Harvard Graphics 2.3 Demo Disk Install
  8. echo               ----------------------------------------
  9. echo  
  10. echo               Make sure that your Harvard Graphics 
  11. echo               Demo Disk Disk is in disk drive A: or B:
  12. echo               ----------------------------------------
  13. echo  
  14. echo               This batch file will create
  15. echo               a directory called %1:\HGDEMO.
  16. echo  
  17. echo               1.3 Megabytes of free disk space
  18. echo               on your %1: drive is required for
  19. echo               the installation process.  If you
  20. echo               wish to quit at this time, please
  21. echo               press [Ctrl] [C].
  22. echo  
  23. pause
  24. if not exist hvg0808.exe goto filefail
  25. if not exist hgdemo.bat goto filefail
  26. md %1:\HGDEMO > nul
  27. cd %1:\HGDEMO > nul
  28. cls
  29. echo  
  30. echo  
  31. echo               Harvard Graphics 2.3 Demo Disk Install
  32. echo               --------------------------------------
  33. echo  
  34. echo               Now copying demo files to your 
  35. echo          %1: hard disk drive partition...
  36. echo  
  37. copy hvg0808.exe %1: >nul
  38. copy HGDEMO.BAT %1: >nul
  39. %1:\ rem Change to user designated hard dirve partition
  40. cls
  41. echo  
  42. echo  
  43. echo               Harvard Graphics 2.3 Demo Disk Install
  44. echo               --------------------------------------
  45. echo               You have successfully installed the
  46. echo               Harvard Graphics 2.3 Demo.
  47. echo  
  48. echo               To start the demo, type:
  49. echo  
  50. echo                   HGDEMO 
  51. echo  
  52. echo               and press the Enter key.
  53. goto exit
  54. :nofree
  55. cls
  56. echo  
  57. echo  
  58. echo               Harvard Graphics 2.3 Demo Disk Install
  59. echo               --------------------------------------
  60. echo               We are sorry, but the hard disk drive
  61. echo               partition you selected (%1:) does not 
  62. echo               have enough free space to copy the
  63. echo               Harvard Graphics Demo files.
  64. echo  
  65. echo               Please remove any unnecessary files
  66. echo               and directories to create at least 1.3MB
  67. echo               of free disk space, then repeat the   
  68. echo               installation. Or choose another partition  
  69. echo               with sufficient space.
  70. goto exit
  71. :nodrive
  72. cls
  73. echo  
  74. echo  
  75. echo               Harvard Graphics 2.3 Demo Disk Install
  76. echo               --------------------------------------
  77. echo  
  78. echo               To install on your hard disk 
  79. echo               drive, type:
  80. echo  
  81. echo            "A:>INSTALL X"       
  82. echo   
  83. echo              (X is the hard disk drive 
  84. echo                      partition you designate)
  85. echo  
  86. echo               For example:
  87. echo   
  88. echo              "A:>INSTALL C" installs the 
  89. echo              demo on the "C:" partition of 
  90. echo              your hard disk drive
  91. echo  
  92. goto exit
  93. :filefail
  94. cls
  95. echo  
  96. echo               Harvard Graphics 2.3 Demo Disk Install
  97. echo               --------------------------------------
  98. echo  
  99. echo               Two important files are missing from 
  100. echo               your Harvard Graphics Demo Disk:
  101. echo  
  102. echo              HVG0808.EXE
  103. echo              HGDEMO.BAT
  104. echo  
  105. echo               The demo installation cannot continue
  106. echo               with these files missing!
  107. echo  
  108. echo               Please check your disk to see if the
  109. echo               files have been renamed or ask your
  110. echo               distribution source for a new demo disk.
  111. echo  
  112. goto exit
  113.  
  114. :exit
  115. exit
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.